package com.hhd.flow.engine.vo;

import com.hhd.flow.engine.support.FlowResource;
import com.hhd.flow.engine.utils.CommonUtils;
import lombok.*;

import java.util.List;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class FlowUser {
    private String id;
    private String username;
    private FlowResource avatar;
    private List<FlowUserProperty> properties = CommonUtils.newList();

    public FlowUser(String id, String username) {
        this.id = id;
        this.username = username;
    }
}
